package com.ruoyi.cmdb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * idc对象 tb_idc
 * 
 * @author ruoyi
 * @date 2023-01-25
 */
public class TbIdc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** name */
    @Excel(name = "name")
    private String name;

    /** 简称 */
    @Excel(name = "简称")
    private String simpleName;

    /** 管理员 */
    @Excel(name = "管理员")
    private String adminUser;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createtTime;
    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSimpleName(String simpleName) 
    {
        this.simpleName = simpleName;
    }

    public String getSimpleName() 
    {
        return simpleName;
    }
    public void setAdminUser(String adminUser) 
    {
        this.adminUser = adminUser;
    }

    public String getAdminUser() 
    {
        return adminUser;
    }


    public void setCreatetTime(String createtTime)
    {
        this.createtTime = createtTime;
    }

    public String getCreatetTime()
    {
        return createtTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("simpleName", getSimpleName())
            .append("adminUser", getAdminUser())
            .append("createBy", getCreateBy())
            .append("createtTime", getCreatetTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }

}
